<?php

    $error = 0;
    
    if (mysql_connect($db_host, $db_user, $db_pswd)) {
      mysql_select_db($db_name);
    } else {
      $error = 1;
    }
    
    mysql_query('SET NAMES utf8');

?>
